<?php
	include_once("CONN.php");
	$sql ="SELECT * FROM `message`";
	$res = mysqli_query($connID,$sql);
	$h = $_GET['n'];
	mysqli_query($connID,"UPDATE `message` SET likes=likes+1 where id='".$h."'");
	echo "<script type='text/javascript'>alert('点赞成功');</script>";
	echo "<script> window.location.href='../HTML/index.php' </script>";	
?>